package com.globalwave.pos.report.service;

import java.util.HashMap;
import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.globalwave.base.BaseServiceImpl;
import com.globalwave.common.ArrayPageList;
import com.globalwave.pos.report.entity.ReportSO;



@Service("reportBO")
@Scope("prototype")
@Transactional
public class ReportBO extends BaseServiceImpl {

	public ArrayPageList<Map<String, Object>> query(String sqlName, ReportSO reportSO) throws Exception {
		return (ArrayPageList<Map<String, Object>>)jdbcDao.queryName(sqlName, reportSO, HashMap.class) ;
	}
}
